/**
 * @author Tran
 */
import java.awt.*;
import javax.swing.*;
/*
 * this panel is the gui for managing vocabulary stuff
 */
public class Admin_vocab extends JPanel
{
	/**
	 * @vocab_title just the main title label, nothing more
	 * @createVocab the label for create vocab list button
	 * @displayVocab the label for display vocab list button
	 * @addVocab the label for adding a new word to existing list button
	 * 
	 * @createV the button creating a new list
	 * @displayV the button for displaying list
	 * @addV the button for adding a new word to existing list
	 * @back the back button, what else is it supposed to do? make breakfast?
	 */
	JLabel vocab_title, createVocab, displayVocab, addVocab;
	blankButton createV, displayV, addV, back;
	
	public Admin_vocab()
	{
		//creating gridbaglayout
		this.setLayout(new GridBagLayout());
		GridBagConstraints c = new GridBagConstraints();
		
		Font font = new Font("Ubuntu Mono", Font.BOLD, 16);
		
		vocab_title = new JLabel("Vocabulary Admin Mode");
		createVocab = new JLabel("Create a new vocabulary list");
		displayVocab = new JLabel("Display a vocabulary list");
		addVocab = new JLabel("Add a new word");
		
		createV = new blankButton("Create");
		displayV = new blankButton("Display");
		addV = new blankButton("Add");
		back = new blankButton("Back");
		
		createV.setFont(font);
		displayV.setFont(font);
		addV.setFont(font);
		back.setFont(font);
		
		vocab_title.setFont(font);
		createVocab.setFont(font);
		displayVocab.setFont(font);
		addVocab.setFont(font);
		
		c.insets = new Insets(5,5,5,5);
		c.gridx = 0;
		c.gridy = 0;
		this.add(vocab_title, c);
		c.gridy = 1;
		this.add(createVocab, c);
		c.gridx = 1;
		this.add(createV, c);
		c.gridy = 2;
		c.gridx = 0;
		this.add(displayVocab, c);
		c.gridx = 1;
		this.add(displayV, c);
		c.gridy = 3;
		c.gridx = 0;
		this.add(addVocab, c);
		c.gridx = 1;
		this.add(addV, c);
		c.gridy = 4;
		this.add(back, c);
		
		
	}
}
